package com.ctshk.rpc.order.season.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author  杨林
 * @date  2021/3/29 16:18
 * @version 1.0
 */
@Data
@ApiModel(value="SeasonOrderPayDTO对象", description="套票订单付款信息")
public class SeasonOrderPayDTO {
    @ApiModelProperty(value = "所属订单")
    @NotNull(message = "所属订单id 不能为空")
    private Long orderId;

    @ApiModelProperty(value = "收款单号")
    private String collectionNumber;

    @ApiModelProperty(value = "是否使用pos机")
    private Integer isPos;

    @ApiModelProperty(value = "收款金额")
    private BigDecimal collectionAmount;

    @ApiModelProperty(value = "收款币种ID")
    @NotNull(message = "收款币种id 不能为空")
    private Long currencyId;

    @ApiModelProperty(value = "收款币种")
    private String currency;


    @ApiModelProperty(value = "是否银联优惠")
    private Integer isUnionpayDiscount;

    @ApiModelProperty(value = "银联优惠id")
    private Long unionpayDiscountId;

    @ApiModelProperty(value = "收款方式ID")
    private Long collectionWayId;

    @ApiModelProperty(value = "收款方式")
    @NotNull(message = "收款方式不能为空")
    private String collectionWay;

    @ApiModelProperty(value = "付款方")
    private String payer;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "收款凭证JSON")
    private String collectionCertificateJson;
}